<ion-view view-title="商铺">
    <ion-content>
        <ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
        <ion-list>
            <ion-item class="item item-thumbnail-left" ng-repeat="shop in shops | orderBy:'monthlysales':true"
                      type="item-text-wrap" href="#/tab/shop/{{shop.shopid}}">
                <img ng-src="{{shop.image}}">
                <h2>{{shop.name}}</h2>
                <p>
                    <i class="ion-ios-location-outline" style="font-size: small">
                        &nbsp;&nbsp;{{shop.address}}&nbsp;&nbsp;月销量{{shop.monthlysales}}单
                    </i>
                    <br>
                    <i ng-show="{{shop.isopen == 1}}" class="balanced">正在营业</i>
                    <i ng-hide="{{shop.isopen == 1}}" class="assertive">暂停营业</i>
                </p>
            </ion-item>
        </ion-list>
    </ion-content>
</ion-view>
